package com.zdkj.subway.check.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zdkj.subway.check.entity.SwAuTvmDailyBillAssistDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * TVM票款差异协查-结账单据明细表
 */
@Mapper
public interface SwAuTvmDailyBillAssistDetailMapper extends BaseMapper<SwAuTvmDailyBillAssistDetail> {

    //获取结账单详情信息
    List<Map<String, Object>> getSwAuTvmDailyBillAssistDetail(@Param("param") SwAuTvmDailyBillAssistDetail swAuTvmMoneyAssist);

    int insertSwAuTvmDailyBillAssistDetail(Map<String, Object> param);

    //加入结账单据协查或者单台设备差异协查
    int insertSwAuTvmDailyBillAssistDetail(SwAuTvmDailyBillAssistDetail param);

    //线网-TVM票款差异 结账单据查询
    List<Map<String, Object>> get_xw_pk_JieZhangDanjuData(@Param("param") Map<String, String> param);

    //查询结账单
    List<SwAuTvmDailyBillAssistDetail> getAmountWithRelationid(@Param("param")Map<String, Object> map);
}
